/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.xs_agreement.agreement.entity;

import javax.validation.constraints.NotNull;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 协议信息Entity
 * @author 天竹子
 * @version 2021-07-15
 */
@Data
public class XsAgreement extends DataEntity<XsAgreement> {
	
	private static final long serialVersionUID = 1L;
    @NotNull(message = "类型不能为空")
	@ExcelField(title="类型(1.写作规范2.作品排版3.作家需注意事项4.稿酬发放注意事项5.四帝作家投稿守则6.用户协议7.隐私政策8.签到规则)", dictType="ag_type", align=2, sort=1)
	private String type;		// 类型(1.写作规范2.作品排版3.作家需注意事项4.稿酬发放注意事项5.四帝作家投稿守则6.用户协议7.隐私政策8.签到规则)
	@ExcelField(title="内容", align=2, sort=2)
	private String content;		// 内容
	
	public XsAgreement() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}
	
	public XsAgreement(String id){
		super(id);
	}
}